package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.LocalMerchantsReq;
import com.example.xpvideo.entity.req.UpdateBusinessReq;
import com.example.xpvideo.entity.req.UpdateReq;
import com.example.xpvideo.entity.res.LocalMerchantsDetail;
import com.example.xpvideo.entity.res.LocalMerchantsRes;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/7/26 1:28
 * @description:
 */
public interface LocalMerchantsService {
    ResponseResult<PageResult<List<LocalMerchantsRes>>> list(LocalMerchantsReq localMerchantsReq) throws ErrorException;
    ResponseResult<LocalMerchantsDetail> detail(String account) throws ErrorException;
    ResponseResult<Object> updateLMStage(UpdateReq updateReq) throws ErrorException;
    ResponseResult<Object> updateBusiness(UpdateBusinessReq updateBusinessReq) throws ErrorException;
}
